///
/// Override the ModifyRedirectURL() to customize the URL
///
public override string ModifyRedirectUrl(string redirectUrl, string redirectArgument, bool bEncrypt)
{
// If redirect URL does NOT contain paramter(s), for example, if redirect URL is equal to "../Products/AddProducts.aspx" then URL should look like this:
redirectUrl += "?Total=" + this.${Grand Total Field Control}.Text;
// If the URL already contains paramter(s) for example, if redirect URL is equal to "../Products/EditProducts.aspx?Orders=1" then, your redirectURL should look like this:
// redirectUrl += "&Total=" + this.${Grand Total Field Control}.Text;
// Return MyBase.ModifyRedirectUrl
return base.ModifyRedirectUrl(redirectUrl, redirectArgument, bEncrypt);
}
|